Solving the problem with showing selected objects at the top