fixed preview layer positioning