Fixed bug where fast frame rates caused The application to slow down