Fixed collision response bug, added rendering depth to entities