Added custom cursor and locked cursor inside window