Fixed determining new startx.