Fix Rectangle serialization fail

Socket based save state restores work now