Improved 3D rendering

Fixed: context menu error when compiling
Merge pull request #109 from szymski/master

Improved 3D rendering