Fix desktop mode