fixed checkboxes on layers menu