Move framerate calculation from step() to stepAndDraw()
Make the framerate property a constant