Merge "Do not paint shadow if outside of the clip area" into lmp-dev