Fix #64: Token background color painting is slow on OS X