Fixes weird overlay issue