Simplify a IsOutOfRange in BabyGrid.cpp.