removed last trace of the `isCollisionMap` flag in the Layer.js code