Crash when hiding layer after pasting

After pasting something to an empty layer and moving it around, if i hide the layer without deselecting what i just pasted, aseprite crashes instantly

(on version 1.3.18-beta3-x64, Windows, Steam)

Thanks for reporting this issue @Leanled! I think we’ve received several automated crash reports about this issue but weren’t able to reproduce until now thanks to your report :folded_hands: