fix GL pixel pack and unpack stuff