Button Lock: Fixed game speed

Fixed the problem with different computer speeds affecting how fast the game plays.