Fixed compatibility with Nette 2.2.2, thanks @thorewi [closes #35]