Fixed black screen issue