Watching Magic Movies Like Harry Potter Etc.
No it doesn’t invalidate your prayers.