Engine::some android memory optimizations, small fixes, support viewport matrix