Add function removeBeetle for clearRect