This issue can be reproduced by rotating an image layer and then moving its top-left corner outside the canvas so that the Y-coordinate becomes -1. The selection marquee will appear incorrectly oversized.
Do you have any recommended solutions or workarounds for this problem?