use canvas to draw float window UI