Handle framebuffers that aren't page aligned

Change-Id: Ib2d8aac2ceaca08dc539ea457fbdb3f498721eb3