Partial fix for image in smaller window size.