Rectangle can be dragged and scaled