changed rectangle starting point