After setting the swimming direction you will need to click once in the stage or it won't recognise the space bar.