fixed #412 (incomplete sprite-removal)