fixed bug of not removing smaller sprites