fixed out of bounds macroblock indexing