Fixed fps issue in runoneframe command