Update `visible` method

I added style check.