Making magnets framerate independant.