Fix painted Item rendering