Masking and image centering need to be independent