Implemented default masking upon image change.