display webgl boxes centered and disable pan action