reimplemented rectangular element resize support