work around warnings during paint from wrong grid call