Fix error caused by glReadBuffer