Clear bitmap after animation end.

Otherwise it can happen that draw() is called while bitmapBuffer is
null, leading to a NPE.