Fixed bug when holding the S button or the Spacebar. The methods will now
only fire once per key press.