fix rotates to mirror on exit