Enable double buffering