moving up the image load to before the enemy creation