small fix to paintgrid, update added to materialspanel