Fixed rotation glitch and modified window size