Created a drawing context and set bounds rectangle for current view