fix problem where images go away if the screen is too large.