Crash fixed on clicking on the canvas while no dive is loaded.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>