the bitmapData needs to be resized when the screen is resized (side effect the content is erased to be fix)