I was aware that I could not use the frame
property in a transformed view, but actually setting it yourself on a transformed view is also a no-no.
if the transform property contains a non-identity transform, the value of the frame property is undefined and should not be modified
I removed all code that uses self.frame
in any way and used self.center
instead. Now everything displays correctly.