Improve the right-click positioning test.