Hi there MhmoodZ!
Since it seems like your issue may be related to graphics, I would suggest resetting the PRAM as a preliminary troubleshooting step:
If the issue is not resolved by a PRAM reset, then you may want to try booting into Safe Mode, or creating a new user account and seeing if the issues persist in the new user:
Take care, and thanks for visiting the Apple Support Communities.
Hi again MhmoodZ,
Thank you for using the Apple Support Community. Due to the nature of your issue or question you may find more information by using another one of Apple's support resources - https://expresslane.apple.com/GetproductgroupList.action.