can you please format your code, so that it is readable? See
On behalf of your question: This behaviour is due to the size of the rotated object, if you specify reflow: true in rotate, the bounding box of the rotated content is updated and the positioning behaves as expected.