Disable drawing when display:none style is specified