Fixed so click events don't fire on inactive entities