In order to tidy a few things up, I have set the space bar event to set the sprite to 0,0 which is the centre of the stage. I have also made sure that upon doing so, the pen is up so that it doesn't draw on the stage (which it does before I fix that). Finally the pen is set down again.