CanvasItem: fix overlapping filenames on hover

https://bugzilla.gnome.org/show_bug.cgi?id=701279