Fix destroy display not bitmap in cleanup code