Fixing a few GUI setting menu bugs and optimizing GUI FBO render pass