Fixed bug in unproject()