Bugfix: filters constructors threw exceptions if context was lost

The same issue as was discussed here [627](https://github.com/Gamua/Starling-Framework/pull/627).