Fix setting frame rate