fix #8. when resize the window, camera's aspect is not updated correctly