added moved scalrects for draw