Solve problem with primary monitor in dual monitors