Fix broken frame rate setup for some cases