bug fix: glReadPixels can cause OUT_OF_MEMORY, let's clear that and re-read