Fix frame buffer

Signed-off-by: Rachit Rawat <rachit.rc96@gmail.com>