graphics3 fixes