I definitely agree that the layer getting confused is rubbish. We should have a clean error emitted at the barrier call, pointing out that the aspect mask you provided doesn't make sense for the format.