Fixed compatibility with latest Nette componentes