Created the red ball on the window