Fixed static unit attack problem