[Hack] Use setFramerateLimit

This is not a very good way to do vsync but prime vsync is broken by xorg design