Make corner test a smidgen more robust