fb800f3d8b
The corner positions were only based on the panel's dimensions, its position needs to be taken into account as well.