Fixed black overlay bug