fix various bugs in new multi screen detection