Added BufferDrawMode, thus fixing drawing glitch