Fix RESIZE_MASK