Fixed null pointer exception crash in DestroyFramebuffer().
Fixed handling of Android graphics mode (still not a proper fix)