Fixed compatibility with Nette after nette/nette@7ac95d71