bug with a square down
fixed bug with square and underfeild painting