Fix image mask