Fix double buffering in AimSAI

[fixes #1]

This bug is inherited from the original aimc project
and discussed in http://code.google.com/p/aimc/issues/detail?id=4.

Thanks to: nemo <git@nemo.ikkoku.de>