updated enemy collision and crate spawning