fixed problem getting screen resolution when two screens are plugged