the pen layer always goes behind all the sprites. But not behind the background. It was still drawing it was just hidden behind the slider sprite. It's a common mistake though. I hope this helps!