Reduce z-index levels so that it will follow proper order.