RealX and RealY now reset when X, Y, XType and YType are updated.