improve rotation / distortion checks