Fix MgDiamond::_hitTestBox().