I have this issue in the past… I can’t remember how I’ve solved it… Probably:

  1. Editing the avast5.ini file.
    or
  2. Clean reinstalling avast!.