Fixed a bug that the background color was not drawn