I deleted the map click procedure from my app then recreated it and suddenly it works. Apparently my messing around earlier had confused the program. So, problem solved.
I deleted the map click procedure from my app then recreated it and suddenly it works. Apparently my messing around earlier had confused the program. So, problem solved.