This allows for binding a framebuffer the texture is completely outside (in the rare case of a framebuffer < 32 tall.)  I think you want both checks, just divide by bufwBytes.  I don't think fbBytes is needed since they will be equal in that case.

-[Unknown]