issues #606 now using ua detection for layerX/Y usage