Fix #11 will no longer crash if images are too different