Fixed various issues with the graphics.