fixing the always on top code