fixed the issue when bitmap was recycled before it was displayed