Fixed bug where sides would change after restart