Fixed bug with initial character position