Added nearplanehalfsize to camera