Sets z-index property on setFixed()

* To avoid keeping the original value after the first "setUnfixed()"