Mouse and application lag on external monitor
I am currently using a late 2015 macbook pro on an external 4k monitor. I am having issues lately with mouse lag and using different applications like music and and safari. For example when opening Safari the app opens much slower and when changing tabs it doesn't happen right away. While on Safari there has also been issues that websites do not load fully and I have to refresh the page multiple times. An example of this would be for example on Amazon when I enter the website, I am unable to search or click something as the screen is still loading or frozen. Another issue I am having is when I minimize Safari and click on it again, it will take awhile/lag to open again.
The MacBook is connected to the monitor using an HDMI cable. Below will be specifications of my MacBook and Monitor.
If there is any information or steps i need to fix this issue? I have already reset the NVRAM and SMC but those have not helped.
Macbook Pro:
MacBook Pro (Retina, 13-inch, Early 2015)
Processor 2.7 GHz Dual-Core Intel Core i5
Memory 8 GB 1867 MHz DDR3
Graphics Intel Iris Graphics 6100 1536 MB
External Monitor:
LG 32uk550