Stabilize axes rendering code.