fix more rendering artifacts