Hmm, would it be a big problem though? They would just come back down a moment later. Or maybe you could draw a ceiling to indicate that the player will bounce against it :)
tbh its rlly obvious that there was a barrier since both the right and left sides have one, but i agree adding maybe a cave sprite with collisions might have been better