Optimize DrawBG