Fixes fillrect w/h being incorrectly swapped.
Fixes shader callback func to return rgb array.