Fixed #2170: fixed not working frameRate setting.