QtQuick: use the right bounds when painting
Use textureSize as the documentation suggests, contentsSize is deprecated. Sometimes this size is invalid, use textureSize in such case.