fixed issue where timer set to 0 cause game loop to not run on some computers