The game probably reached the memory limit when using that CAP.
When I was making the "Hydrant House" CAP, I had to edit a bit of stuff because the game crashed when I exited, acid dropped in a certain area, or started a goal.
(The version that I uploaded shouldn't have that issue but it might be laggy for some people.)