Re-implemented back buffer drawing logic.