Fixed issue where overview ruler was accessing styled text contents out of the main thread.