changed z index for buttons