MArk selected component in canvas