Same problem as above, should be more independant of framerate