Merge "Fix null rect parameter for saveLayer / saveLayerAlpha" into lmp-dev