disabled scroll on keypress

Usually when pressing the spacebar or arrow keys and the screen is too small, the entire screen scrolls, which is distracting to the scratch project itself. This code fixes that bug.