Fixed mouse deathbug

Game also runs faster now.