Fix for issue in visability classes where class would inherit display property of parent causing issues on inline elements contained within blocks.