Fix bug with slab click handler