Fixing collider2d code