Fixed al closing problem and stopped processing enemies that are off screen