Fixed graphical bug and addressed nullpointer ex

Nullpointer exception occurs if wrong mouse button is clicked (fixed).
Swapped rows and cols in relocateActionMenu to fix a graphical bug in
which relocation is frequently wrong.