Fixed last bug in the Viewer (we were not taking the good mipmaplevel
into account)