Make the space bar lock the cursor so that you can't move it around anymore