Re-add frame buffer checks.