Fix for incorrectly positioned empty view warnings