fix bug of GlobalXY about axis.