Magic Mirror

Yen Sid's Magic Mirror is the device Mickey used to gain access to his study. It seems that the mirror has a mind of his own, and deliberately sent Mickey there, if going by Yen Sid's words from the beginning of the game.