Duh, Sometimes I swear posting a question to the forum actually triggers an idea for a solution...
This is an easy one. events.onclick only fires when the pano image itself is clicked instead of an interface layer. Sorry to waste bandwidth on this one