Fix debugger window visibility on native targets