Why am i getting this error in these yanfly scripts?
TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite.
at TypeError (native)
at Bitmap.getPixel (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_core.js:1195:30)
at Window_TitleCommand.Window_Base.textColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:176:28)
at Window_TitleCommand.Window_Base.normalColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/plugins/YFCore.js:4518:15)
at Window_TitleCommand.Window_Base.normalColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/plugins/YEP_ItemCore.js:1358:48)
at Window_TitleCommand.Window_Base.resetTextColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:106:31)
at Window_TitleCommand.Window_Base.resetFontSettings (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:102:10)
at Window_TitleCommand.Window_Base.resetFontSettings (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/plugins/YEP_MessageCore.js:687:50)
at Window_TitleCommand.Window_Base.createContents (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:96:10)
at Window_TitleCommand.Window_Base.initialize (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:24:10)
TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finite.
at TypeError (native)
at Bitmap.getPixel (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_core.js:1195:30)
at Window_TitleCommand.Window_Base.textColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:176:28)
at Window_TitleCommand.Window_Base.normalColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/plugins/YFCore.js:4518:15)
at Window_TitleCommand.Window_Base.normalColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/plugins/YEP_ItemCore.js:1358:48)
at Window_TitleCommand.Window_Base.resetTextColor (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:106:31)
at Window_TitleCommand.Window_Base.resetFontSettings (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:102:10)
at Window_TitleCommand.Window_Base.resetFontSettings (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/plugins/YEP_MessageCore.js:687:50)
at Window_TitleCommand.Window_Base.createContents (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:96:10)
at Window_TitleCommand.Window_Base.initialize (file:///C:/Users/maxam/Documents/Games/Harem%20Quest/js/rpg_windows.js:24:10)