Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture
Element.setCapture() é obsoleto. Empregue Element.setPointerCapture() no seu lugar. Para obter máis axuda, https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture