Fixed an XP bug with the devicename when using screens.