Fixed #2170: fixed not working frameRate setting.

fixed not working frameRate setting