It's probably because of the draw function. Changed now.