Use the framebuffer stride instead of the framebuffer width when calculating the position for rotation. CRs-fixed: 280765