Stop image overflowing.