Convert to double-buffered version.