added center point as vec2 to rectangle
fixed bug in client side prediction