[US21] Fix app crash due to bad framebuffer attachment

This check is quite useless right here