Fixed some gralloc errors