Fixed bug where a window button was displayed on the window content area instead of the canvas