resize fixed to work like qmlscene