Added support for fixed fps