Fix errors in build for floating window