Fixed bug in view tool, where the effect frame wasn't cleared - and the
branch wasn't rejected is popup was cancelled.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>