fix brush flipping assert on rgb images
fix uninitialised new frame in Add Frame