This could be due to the fact that the window has been rendered off the screen. The desktopAvailableHeight substracts the height of the taskbar from the height of the screen, that is why we used it. Try using the height property to see if that won't create problems. But I must affirm that the desktopAvailableHeight is pragmatic. So please try this code:

x: screen.width - width - 12

y: screen.height - height - 48

Feel free to update the x, y values to the desired figure.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store