Finally made inventory GUI work perfectly (I hope :D)