Perspective projection added - bug fix