Fixed bug in previous commit, screen is now flickering like nobodys buisiness