Refactor isRenderedInline, disable CSS pseudo class-styles