Fix small image size bug