Fixed Tile Decoding Function

Doesn't require the return value to be passed in (it never should have been), and fixed color values to make sure the highest 8 bits are blanked out.