I think that this is completely normal, you were probably just experiencing hypagogic imagery, which are images that you see as you start to fall asleep.