Added the ability to draw a window