Children's animated 90's movie
I am inquiring a question about a movie that I saw a while ago. I was about 13 or 14 when I saw it so I can't remember the title. The movie was Japanese I think, but it was about a young boy who has a dream at night and I'm pretty sure that he travels on his bed to a magical land. There is an evil character that sort of looks like a clown. I am so confused about the title of this movie. But I do remember him flying on his bed. If anyone has any idea about this movie, please tell me.