rotate pixel-coordinate issue