Improves performance of image selection