Fixed a framerate dependancy.