KChart: Mark layout as dirty when painting a rect != geometry()
(cherry picked from commit b03f1ebb88b08fd29637b7e83090af9148561faa)