hack in basic gamma correction