Merge "Implement cropping of windows based on system UI elements." into jb-dev