Fixed surface not painting sometimes