Fix selection test for light center vertex of rotated lights.

Manipulation is still wrong, but selecting the vertex works.
Fix center vertex manipulation for rotated lights (part of #3860).