Fixed issue with big image being loaded when clicked on.