Fixed bug where the spinning animation would mess up if you resized the window.