implemented frame ratio support for renderer

- now rendering canvas will never be streched by breaking frame size
ratio