Fix effect mask apply.