Fixed Red Screen issue

Temporary fix for red screen issue