Some framebuffer-related fixes
Merge pull request #1 from Tasssadar/nexus7

Some framebuffer-related fixes