fixes rotation bug on launch