Removed begin/end functions from Canvas