fixed frustum math, uiRect
optimized frustum check

courtesy of ryg:

http://fgiesen.wordpress.com/2010/10/17/view-frustum-culling/