get real width & height for ctx.clear method
Merge pull request #2 from mchen745/master

Get real width and height