fixed stencil's clickability and switching between background tabs