debug

* add explicit rect clear only for android bug wordaround...
* add code to handle window resize and canvas fit