Improved handling of projection matrix in Graphics2.