fix monitor hotplug issues