Setting maximum input framerate
fix #83