fixed enemy density calculating on high-density devices.