funky spacing in 2d view since the context size is not updated
todo: debug frame buffer