Fixes crash if frame is not aligned to 16. This should probably be folded into the Frame class itself at some point.