removed unnecessary invalidateLayout