Fixed issue where discard framebuffers would cause nothing to show up