* Change selection grid to maintain relative horizontal position when switching rows * clang-format * Fixed joker selling index error * Protect against division by 0 and removed redundant fixed point conversions.