Revert "Fix geometry.rectmidpoint() mathematical error."

Reverts sdegutis/hydra#162