fix a bug in the new ball shader code

..sorry fuzzel, couldn't resist and also fooled around with the rest of the code a bit :)