fixed setFramerate in RenderWindow