update graceful handling of out of bounds palette positioning