fixed 2d drawing
moved scene related code to render.DrawScene