Fix the black screen issue for Toaru Majutsu no Index, and Toaru Kagaku no Railgun

    pos[2] is limited between 0 and 65535. This can be found out from jpcsp r2441.