Fixed masking bug on tab