Fix for Slate not being able to hide Navicat properly