Fixes made on OSK function.

Tested only on JPCSP.