Fixed compatibility with Nette after nette/nette@ce4fd6df22