Image replace option fix