fix for multi-monitor configuration