removeEntity: fix call to splice
Merge pull request #1 from city41/master

removeEntity: fix call to splice