Fixed bug that caused widgets to miss draw. Fix #335
Merge pull request #505 from duncanspumpkin/gfx_rect

Fixed bug that caused widgets to miss draw.