Handle visibility within `desktop_{show,hide}`