Fix interacting with entities.