Correction of the exeption getted because of the z-index.