Fix rotate bug (due to debug toast)