[qt] clean up drawBackgroundImage