[[ Cocoa ]] Make sure the view is invalidated when showing a window.