Fix a bug where inactive layers (transform, scale, etc) were having an effect on...