Only change image if pointer is on the first line