Fix JS error when adding new media

Parent clearItems emits remove (with items being passed) better/worse than overriding method?
Anyways.. did you check if that works - I mean - is there memory leak without this code?