Changed Layer setters to call layer_mark_dirty on change, setters are a no-op if the value doesn't change.