Revert "updated paintFill()"

This reverts commit bbf6fba8e41cfa2a7baec6172aa7317b0eddfcd8.