trying to fix broken canvas resize on android