Fixed null references, mouse script