Make the buffered strategy painter work for direct and thread painting.
Use the new ThreadStrategyPainter.