Fixed compatibility with Nette after nette/nette@e104fb0f82