ctx.beginPath(); ctx.rect(10, 10, 30, 30); ctx.drawFocusIfNeeded(button);