FBO mode dev

Fix FBO creation