Yup it's me again! with a script playback issue

This one is reproduceable. When you import an image file to a new layer that layer gets selected and therefore any actions peformed will take place on the newly imported image file layer, but on replay the imported layer doesn't get selected, leading to shennanigans!

https://youtu.be/NjOaP2gyt2Y

using ArtRage 5.0.5
Windows 10
Surface Pro