Fixed a problem with img