When you say the replay screen, do you mean the screen after you complete the final room with the red square labeled "Level 4?" At that screen you should be able to just press space and it will beat the arcade machine. It's also possible you might've bumped into a wall before entering the final red square.