Enable double buffering

Enable double buffering