Fixed paint bug.