Fixed #1923 sending NULL to Level::getXZ()