Need to fix so that 60 fps can be used.