Fixed issue in pen tool where target frame wasn't removed after making a
stroke.

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