I've managed to fix my problem.
I had Turn off device display while mirroring option enabled and it somehow caused the problem. So just disabling it in Settings -> Tools -> Device Mirroring solved the issue.
Turn off device display while mirroring