Added override for set position method, so rectangle's boundaries are updated when their border's positions change