infinite scale may occours if the qml scale binding sets an infinite scale.
Reviewed-by: Alessandro Portale