trying to fix obstacle almost offscreen bug