Dealing with main image position