Rectangle properties implemented, but only partially working.