Fixed drag controller not working properly.
Various other changes