Invalid cursor move when different monitor configuration