Made movement compatible with faster and slower PCs