Make window switching smother; fix blurring of previous view when switching