Fixed an issue when positioning an existing element without position