fix tab hiding/showing publiclab/mapknitter#12