Fix entity placement in chunks