Fixed some small bugs with the inverted inside setting