Removing images that did not fit