Improved frame rate handling, especially for GLInject.