scaling fixed. check Square&Triangle class.