input sprite priority issue