Fix for setTapView: crash

As discussed here:

https://github.com/gotosleep/JASidePanels/issues/45