How to use Back Buffer for drawing ?