bug fix, text now checks visibility style before painting