temporary workaround for bogus line appearing problem above image after pen drawing