- Added painter initialization call